package com.company.design.jd_factory;

// 测试类
public class Customer {
    public static void main(String[] args) {
        Car car = CarFactory.produce("suzuki");
        if(!(car==null)){
            car.run();
        }else {
            System.out.println("对不起没有找到该车");
        }

    }
}
